﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Demo2
{
    public abstract  class Robot
    {
        private string name;

        public Robot()
        {

        }
       public  Robot(string name)
        {
            this.name = name;
        }

        public string Name { get => name; set => name = value; }
        public abstract void Working();
    }
}
